﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Reconciliation.Business
{
    public class Invoice
    {
        public static List<Domain.Invoice> GetInvoiceListMonthWise(DateTime startDate, DateTime endDate, int bankID, string invoiceType)
        {
            try
            {
                return Data.Invoice.GetInvoiceListMonthWise(startDate, endDate, bankID, invoiceType);
            }
            catch (Domain.ReconciliationException ex)
            {
                throw ex;
            }
        }

        public static List<Domain.InvoiceAuditorComment> GetListOfInvoiceAuditorComment(int invoiceID)
        {
            try
            {
                return Data.InvoiceAuditorComment.GetListOfInvoiceAuditorComment(invoiceID);
            }
            catch (Domain.ReconciliationException ex)
            {
                throw ex;
            }
        }

    }
}
